﻿using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Model.Results
{
    /// <summary>
    /// 响应实体
    /// </summary>
    public class ResultInfoModel
    {
        /// <summary>
        /// 信息
        /// </summary>
        [SwaggerSchema(Description = "信息")]
        public string Message { get; set; } = string.Empty;

        /// <summary>
        /// 是否成功
        /// </summary>
        [SwaggerSchema(Description = "是否成功")]
        public bool IsSuccess { get; set; }

        [SwaggerSchema(Description = "状态码")]
        public int ResultCode { get; set; }

        /// <summary>
        /// 返回数据
        /// </summary>
        [SwaggerSchema(Description = "返回数据")]
        public dynamic ReturnData { get; set; } = string.Empty;
    }
}
